package cn.dreamblog.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 项目名：dreamblog
 * 创建人：君忆zm
 * 创建时间：2019/11/5-14:57
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Goodstatus {
    private Integer goodstatus_id;
    private Integer user_id;
    private String vote_time;
    private Integer blog_id;
    private Integer status;

    public Goodstatus(Integer user_id, Integer blog_id, Integer status) {
        this.user_id = user_id;
        this.blog_id = blog_id;
        this.status = status;
    }

    public Goodstatus(Integer user_id, Integer blog_id) {
        this.user_id = user_id;
        this.blog_id = blog_id;
    }

    public Integer getGoodstatus_id() {
        return goodstatus_id;
    }

    public void setGoodstatus_id(Integer goodstatus_id) {
        this.goodstatus_id = goodstatus_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getVote_time() {
        return vote_time;
    }

    public void setVote_time(String vote_time) {
        this.vote_time = vote_time;
    }

    public Integer getBlog_id() {
        return blog_id;
    }

    public void setBlog_id(Integer blog_id) {
        this.blog_id = blog_id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Goodstatus{" +
                "goodstatus_id=" + goodstatus_id +
                ", user_id=" + user_id +
                ", vote_time='" + vote_time + '\'' +
                ", blog_id=" + blog_id +
                ", status=" + status +
                '}';
    }
}
